Automatically Create Users on Start Up
You can configure the Community component to automatically create a user or set of users when it starts for the first time. When you configure this option, Community creates the new users when it first starts.
This configuration allows you to define a standard set of users for a new system, for example to automatically configure and start a set of Knowledge Discovery components with a standard log in to speed up the process of creating new instances.
NOTE: Community does not modify any existing users. If you restart Community, it does not recreate the user or reset any passwords.
To configure users to create on start up
-
Open your configuration file in a text editor.
-
Create an
[AutoCreateUsers]configuration section. -
List a new parameter with a number starting from 0, and set it to the name of the configuration section where you define the credentials for the new user. For example:
0=AdminUser
-
Create a new configuration section with the name that you used.
[AdminUser]
-
Set
Usernameto the name to create for this user. SetInitialPasswordto the password to use. OpenText recommends that you encrypt this password in the configuration file. See Password Encryption.[AdminUser]
Username=Admin
InitialPassword=9s7BxMjD2d3M3t7awt/J8A -
Set any optional parameters for the new user. For example, you can set
EmailAddressto add an email address, andRolesto add a list of user roles to assign to the new users. -
Save and close the configuration file.